|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.bsvrz.dav.daf.communication.dataRepresentation.AttributeBaseValue
de.bsvrz.dav.daf.communication.dataRepresentation.AttributeListValue
public class AttributeListValue
TBD Beschreibung
| Field Summary |
|---|
| Fields inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.AttributeBaseValue |
|---|
_attribute, _dataModel, _hashCode |
| Constructor Summary | |
|---|---|
AttributeListValue(DataModel datamodel,
Attribute attributeList)
Erzeugt eine neues Objekt mit gegebenen Parametern. |
|
| Method Summary | |
|---|---|
AttributeBaseValue |
cloneObject()
Erzeugt eine Kopie dieses Attributs. |
AttributeBaseValue |
clonePlain()
Erzeugt eine Kopie dieses Attributs, allerdings ohne Wert. |
boolean |
equals(AttributeBaseValue attributeBaseValue)
Überprüft, ob das Attribut/Attributwert mit dem angegebenen Attribut übereinstimmt. |
AttributeBaseValue[] |
getAttributeBaseValues()
Diese Methode gibt ein Feld mit den Basiswerten der Atrribute zurück. |
int |
getElementsCount()
Gibt die Länge des Feldes mit den Attributen zurück. |
Object |
getValue()
Gibt den Wert des Attributs zurück. |
int |
hashCode()
Gibt den HashKode zurück |
boolean |
hasValue()
Ermittelt, ob dieses Attribut einen Wert besitzt. |
void |
setElementsCount(int count)
Diese Methode setzt die Größe des Feldes mit den Attributen. |
void |
setValue(DataValue _value)
Setzt den Wert dieses Attributs. |
void |
writeValue(DataOutputStream out)
Schreibt den Wert dieses Attributs in einen Ausgabestrom |
| Methods inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.AttributeBaseValue |
|---|
getAttribute, getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeListValue(DataModel datamodel,
Attribute attributeList)
datamodel - DatenmodellattributeList - Feld mit Attributen| Method Detail |
|---|
public final int getElementsCount()
public final void setElementsCount(int count)
throws ConfigurationException
count - Länge des Feldes
ConfigurationException, - wenn Fehler bei Konfigurationsänderungen auftreten
ConfigurationException
public final AttributeBaseValue[] getAttributeBaseValues()
throws ConfigurationException
ConfigurationException - , wenn Fehler bei Konfigurationsänderungen auftretenpublic final Object getValue()
AttributeBaseValue
getValue in class AttributeBaseValuepublic final void setValue(DataValue _value)
AttributeBaseValue
setValue in class AttributeBaseValue_value - neuer Wert des Attributs
public final void writeValue(DataOutputStream out)
throws IOException
AttributeBaseValue
writeValue in class AttributeBaseValueout - Ausgabestrom
IOException - Falls der Schreibvorgang nicht durchgeführt werden konnte.public final boolean equals(AttributeBaseValue attributeBaseValue)
AttributeBaseValue
equals in class AttributeBaseValueattributeBaseValue - zu vergleichendes Attribut
true, wenn die Attribute gleich sind, sonst falsepublic final int hashCode()
hashCode in class Objectpublic final AttributeBaseValue clonePlain()
AttributeBaseValue
clonePlain in class AttributeBaseValuepublic final AttributeBaseValue cloneObject()
AttributeBaseValue
cloneObject in class AttributeBaseValuepublic final boolean hasValue()
AttributeBaseValue
hasValue in class AttributeBaseValuetrue, wenn das Attribut einen Wert besitzt, sonst false
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||